package handler

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

func CheckHealth(c *gin.Context) {
	c.String(http.StatusOK, "ok")
}

const version = "v1.0"

func GetVersion(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"version": version,
	})
}
